import java.util.TimeZone;

public class test4 {
	public static void main(String[] args) {
		// 当前时间毫秒数
		long current = 1544752600000l;
		// 当天10:00的毫秒数
		long currentTen = current - (current + TimeZone.getDefault().getRawOffset()) % (1000 * 3600 * 24)
				+ 10 * 3600 * 1000;
		// 实际应该到期的毫秒数
		long ten = current < currentTen ? currentTen : currentTen + 24 * 3600 * 1000;
		int expire = (int) ((ten - current) / 1000);

		System.out.println(expire);
		System.out.println(ten);
	}
}
